package org.walker.iotScheduling.modules.iot.task.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.walker.iotScheduling.modules.iot.task.ScheduledTask;

/**
 * 模拟新任务加入
 * @author :zhuangguojin
 * @since :2024/12/4 17:22
 */
@Slf4j
@Component
public class newTask implements ScheduledTask {
    /**
     * 定时任务需执行的逻辑
     */
    @Override
    public void execute() {
        log.info("{}：newTask start,it's an new task.",Thread.currentThread().getName());
    }
}
